home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-11-24 | 3.7 KB | 130 lines |
- # Makefile for core library
-
- # Mesa 3-D graphics library
- # Version: 1.2.1
- # Copyright (C) 1995 Brian Paul (brianp@ssec.wisc.edu)
- #
- # This library is free software; you can redistribute it and/or
- # modify it under the terms of the GNU Library General Public
- # License as published by the Free Software Foundation; either
- # version 2 of the License, or (at your option) any later version.
- #
- # This library is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- # Library General Public License for more details.
- #
- # You should have received a copy of the GNU Library General Public
- # License along with this library; if not, write to the Free
- # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-
- # $Id: Makefile,v 1.20 1995/08/01 20:58:09 brianp Exp $
-
- # $Log: Makefile,v $
- # Revision 1.20 1995/08/01 20:58:09 brianp
- # modified to use $(MAKELIB)
- #
- # Revision 1.20 1995/08/01 20:58:09 brianp
- # modified to use $(MAKELIB)
- #
- # Revision 1.19 1995/06/21 15:54:36 brianp
- # renamed source files to 8.3 convention
- # added Linux ELF shared library target
- # Release 1.2.1
- #
- # Revision 1.18 1995/05/22 21:05:42 brianp
- # Release 1.2
- #
- # Revision 1.17 1995/04/17 14:40:37 brianp
- # use GL_LIB variable
- #
- # Revision 1.16 1995/03/24 19:30:25 brianp
- # added vb.c to SOURCES
- #
- # Revision 1.15 1995/03/13 15:58:15 brianp
- # added xfonts.c to SOURCES
- #
- # Revision 1.14 1995/03/10 16:26:16 brianp
- # use eval2.c instead of eval.c
- #
- # Revision 1.13 1995/03/08 19:49:05 brianp
- # added -Y to makedepend
- #
- # Revision 1.12 1995/03/08 19:42:36 brianp
- # revamped for makedepend
- #
- # Revision 1.11 1995/03/08 15:13:10 brianp
- # dependency changes for dd_logicop, dd_clear_index, dd_clear_color
- #
- # Revision 1.10 1995/03/07 19:10:54 brianp
- # made changes for pb w/ blending, alpha test, logic ops
- #
- # Revision 1.9 1995/03/07 14:15:25 brianp
- # use eval.c instead of eval2.c because of FPE on Linux
- #
- # Revision 1.8 1995/03/04 19:18:40 brianp
- # changed for Make-config
- #
- # Revision 1.7 1995/03/01 21:05:20 brianp
- # replaced 'make' with $(MAKE)
- #
- # Revision 1.6 1995/03/01 17:44:40 brianp
- # added stenciling for PB
- #
- # Revision 1.5 1995/02/28 21:23:16 brianp
- # added glx support
- #
- # Revision 1.4 1995/02/27 22:49:15 brianp
- # modified for PB
- #
- # Revision 1.3 1995/02/24 19:33:36 brianp
- ##### MACROS #####
-
- INCDIR = /include
- LIBDIR = /lib
- XDIR = x11:sasc
-
-
- SOURCES = accum.c alpha.c attrib.c bitmap.c blend.c bresenhm.c clip.c \
- context.c copypix.c dd.c depth.c draw.c drawpix.c enable.c \
- eval2.c fog.c feedback.c fortran.c gamma.c get.c glx.c interp.c \
- light.c lines.c list.c logic.c masking.c misc.c osmesa.c pb.c \
- pixel.c points.c polygons.c readpix.c scissor.c span.c stencil.c \
- texture.c vb.c vertex.c xfonts.c xform.c xmesa1.c xmesa2.c xmesa3.c
-
- OBJECTS = accum.o alpha.o attrib.o bitmap.o blend.o bresenhm.o clip.o \
- context.o copypix.o dd.o depth.o draw.o drawpix.o enable.o \
- eval2.o fog.o feedback.o fortran.o gamma.o get.o glx.o interp.o \
- light.o lines.o list.o logic.o masking.o misc.o osmesa.o pb.o \
- pixel.o points.o polygons.o readpix.o scissor.o span.o stencil.o \
- texture.o vb.o vertex.o xfonts.o xform.o xmesa1.o xmesa2.o xmesa3.o
-
-
-
- SCFLAGS = idir=$(INCDIR) idir=$(XDIR)/include data=far idlen=63 \
- nostkchk ignore=a optimize math=68882 cpu=68040 define=AMIWIN
-
- MAKELIB = oml -n
- GL_LIB = MesaGL.LIB
-
- CC = sc
-
- ##### RULES #####
- .c.o:
- $(CC) $(SCFLAGS) $*.c
-
- ##### TARGETS #####
-
- default:
- @echo "Specify a target configuration"
-
- clean:
- -delete *.o $(GL_LIB)
-
- targets: $(LIBDIR)/$(GL_LIB)
-
- # Make the library
- $(LIBDIR)/$(GL_LIB): $(OBJECTS)
- $(MAKELIB) $@ R $(OBJECTS)
-